package Vocabulary;

import java.util.ArrayList;
import java.util.Arrays;
import java.util.List;

public class Word {
    int WID;
    String Words;
    String Explain;
    byte []Audio;
    byte []Information;

    public byte[] getInformation() {
        return Information;
    }

    public void setInformation(byte[] information) {
        Information = information;
    }

    public Word(String words, String explain) {
        Words = words;
        Explain = explain;
    }

    public Word() {
    }

    public int getWID() {
        return WID;
    }

    public void setWID(int WID) {
        this.WID = WID;
    }

    public String getWords() {
        return Words;
    }
    public void setWords(String words) {
        Words = words;
    }

    public String getExplain() {
        return Explain;
    }

    public void setExplain(String explain) {
        Explain = explain;
    }

    public byte[] getAudio() {
        return Audio;
    }

    public void setAudio(byte[] audio) {
        Audio = audio;
    }
    @Override
    public String toString() {
        return "Word{" +
                "WID=" + WID +
                ", Words='" + Words + '\'' +
                ", Explain='" + Explain + '\'' +
                ", Audio=" + Arrays.toString(Audio) +
                ", Information=" + Arrays.toString(Information) +
                '}';
    }
}
